<?php
namespace app\common\validate;

use think\Validate;

class Template extends Validate{

    protected $rule = [
        'title' => 'require',
        'desc'  => 'require',
        'path'  => 'require',
    ];

    protected $message = [
        'title.require' => '请填写模板名称',
        'desc.require'  => '请填写模板描述',
        'path.require'  => '请填写模板路径',
    ];

}